<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,usesr-scalable=0">
	<meta name="keywods" content="">
	<meta name="description" content="">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="blank">
	<meta name="format-detection" content="telephone=no">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>搜索结果</title>
	<!-- <link rel="shortcut icon" href="__INDEX__/images/logo.ico"> -->
	<link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
	<link rel="stylesheet" href="__INDEX__/css/top.css">
	<link rel="stylesheet" href="__INDEX__/css/searchResult.css">
	<script src="__INDEX__/js/flexible_css.js"></script>
	<script src="__INDEX__/js/flexible.js"></script>
	<script src="__INDEX__/js/jquery-1.12.4.min.js"></script>
	<script src="__INDEX__/js/swiper.jquery.min.js"></script>
	<style >
		.content .c-title .right button {
		  display: block;
		  background-color: #0860A8;
		  width: 1.6rem;
		  height: 0.8rem;
		  line-height: 0.8rem;
		  color: #fff;
		  border:none;
		  border-radius: 0.06666667rem;
		  text-align: center;
		}		
	</style>
</head>

<body>
	<div class="wrap">
		<!-- 头部 -->
		{include file="public/header" /}

		<div class="content">
			<form action="{:url('index/search/res')}" method="post">
			<div class="c-title">
				<div class="left">
					<img src="__INDEX__images/search@2x.png" alt="" />
					<input type="" name="search_res" id="" value="" placeholder="请输入您要搜索的内容或关键字" />
				</div>
				<div class="right">
					<button type="">搜索</button>
				</div>
			</div>
			</form>
			<div class="c-content">
				{if condition="count($res) eq 0"}暂无{else/}
					{volist name="res" id="vo"}
						<a href="#">
							<div class="top">
								<i></i>
								<h1>{$vo.name}</h1>
							</div>
							<div class="middle"  title="{$vo.contents}">
								<p >{$vo.contents}</p>
							</div>
							<div class="bottom">
								<p>发布时间：{$vo.create_time|substr=0,10}</p>
							</div>
						</a>
					{/volist}
					
 
				{/if}
			</div>
		</div>
		<!-- 底部导航栏 -->
		{include file="public/footer" /}
	</div>
</body>
<script>
	$('.header ul li a').eq(2).css('color','#0860a8')
</script>

</html>